<!DOCTYPE html>
<!-- ng-app -->
<html lang="en" ng-app="app">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="../../../js/plugins/angular/angular.min.js" type="text/javascript"></script>
</head>
<body>
    <div ng-controller="cont">
        <div class="show">{{name}}</div><!-- 绑定显示创建 -->
        <input ng-model="score" value="95">
        <div class="show">{{score}}</div><!-- 绑定隐示创建 -->
    </div>

    <script>
        var app = angular.module('app',[]);
        app.controller('cont',['$scope',function ($scope) {
            $scope.name = "张三"

        }])

    </script>
</body>
</html>